GBML manual / Constants

PATH_CONTINUE

Keeps going in the last direction, in a straight line, past the end of the path.

Syntax

PATH_CONTINUE: constant

Description

The end action that keeps the instance moving in whatever direction it was last heading, in a straight line, past the path's own end - the only one of the four that does not keep the instance tied to the path's own shape once it finishes. See Rooms's own "Paths, briefly" section for how this compares to the other three end actions.

Example

path_start(path_doc_patrol, 1, PATH_CONTINUE, false);

Starts the walker along path_doc_patrol and, once it reaches the end, keeps it moving in a straight line in whatever direction it was last heading - past the path's own shape entirely.

See also: path_end_dopath_startRooms